package com.ruoyi.devops.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.devops.domain.InspectionReport;
import com.ruoyi.devops.domain.InspectionTask;
import com.ruoyi.devops.domain.InspectionTemplate;
import com.ruoyi.devops.mapper.InspectionReportsMapper;
import com.ruoyi.devops.mapper.InspectionTaskMapper;
import com.ruoyi.devops.service.IInspectionReportService;
import com.ruoyi.devops.service.IInspectionTaskService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class InspectionReportService extends ServiceImpl<InspectionReportsMapper, InspectionReport> implements IInspectionReportService {
    @Resource
    InspectionReportsMapper inspectionReportsMapper;

    public List<InspectionReport> queryInspectionReportTemplate(InspectionReport inspectionReport) {
        QueryWrapper wrapper = new QueryWrapper<InspectionTemplate>();
        List<InspectionReport> list = inspectionReportsMapper.selectList(wrapper);
        return list;
    }


}
